package com.yelobblog.yelobblog.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//CREATE TABLE IF NOT EXISTS dialogueGroup (
//        id INT AUTO_INCREMENT PRIMARY KEY,
//        name VARCHAR(255) NOT NULL,
//userId INT NOT NULL,
//agentId INT NOT NULL,
//createTime TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
//FOREIGN KEY (userId) REFERENCES user(id) ON DELETE CASCADE,
//FOREIGN KEY (agentId) REFERENCES Agent(id) ON DELETE CASCADE
//) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class dialogueGroup {
    private Integer id;
    private String name;
    private Integer userId;
    private Integer agentId;
    private Date createTime;
}
